package com.example.zhaojianxu.signin.bank.main

import android.os.Bundle
import android.view.View
import com.example.zhaojianxu.signin.R
import com.example.zhaojianxu.signin.bank.analysis.AnalysisActivity
import com.example.zhaojianxu.signin.bank.number.NumberActivity
import com.example.zhaojianxu.signin.bean.BaseActivity
import com.example.zhaojianxu.signin.common.info.InfoActivity
import kotlinx.android.synthetic.main.activity_bank_main.*
import kotlinx.android.synthetic.main.common_title_bar.*

/**
 * 银行叫号
 */
class BankMainActivity : BaseActivity() {

    override fun initView() {
        common_back.visibility = View.GONE
        common_setting.visibility = View.GONE
        activity_bank_1.setOnClickListener {
            toOtherActivity(NumberActivity::class.java)
        }

        activity_bank_2.setOnClickListener {
            toOtherActivity(AnalysisActivity::class.java)
        }

        activity_bank_3.setOnClickListener {
            toOtherActivity(InfoActivity::class.java)
        }
    }

    override fun initData() {
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_bank_main)
    }
}
